# -*-coding=utf-8-*-

import Parent as pr
import Child as ch


class TestI:
    def __init__(self):
        print ""

    def invoke(self):
        me = pr.Parent()
        print me.count_id
        # print me.__user_name    # 私有变量不能直接访问
        # print me._InnerMethod__user_name  # object._className__attrName 访问私有属性，在类的外部不能访问
        print "调用成功"+"-"*10
        print me.__private_me__()
        print "?"*10

        child = ch.Child()
        print child.count_id

if __name__ == '__main__':
    test = TestI()
    test.invoke()